home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sco.programmer,comp.lang.c
- Path: idm.com!euro2!eck
- From: eck@idm.com (Eric Kurbat)
- Subject: Storing 20 character numbers
- Sender: news@idm.com (The News User)
- Message-ID: <DpB3sz.J9n@idm.com>
- Date: Wed, 3 Apr 1996 22:00:35 GMT
- Nntp-Posting-Host: euro2.idm.com
- Organization: Information Data Management
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hello folks!
- I've got a question that has probably been asked before, but I need
- to ask it again... I apologize in advance for any redundancy.
-
- Anyway, the question is, how do you store a 20 character integer
- number in a non-character variable in C without losing any of the digits?
- I did a little bit of playing around and a long double loses precision after
- about 16 digits. Does anyone have any ideas?
-
- Regards,
- Eric
- --
- ----------------------------------------------------------------------------
- "A cow can't whinny and horse has no udder. | Eric Kurbat : eck@idm.com
- Up is down and sideways is straight ahead!" | eck@wwa.com
- ----------------------------------------------------------------------------
-